package com.hljx.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.plugins.pagination.PageDTO;
import com.hljx.dto.DateDTO;
import com.hljx.vo.ProjectTargetAdministrationVO;
import com.hljx.dto.ProjectTargetAdministrationDTO;
import com.hljx.entity.ProjectTargetAdministration;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletResponse;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hxc
 * @since 2023-09-18
 */
public interface ProjectTargetAdministrationService extends IService<ProjectTargetAdministration> {

    IPage<ProjectTargetAdministrationVO> listByCodeOrName(ProjectTargetAdministrationDTO projectTargetAdministrationDTO);



    int insertProject(ProjectTargetAdministration projectTargetAdministration);

    int deleteProject(Long id);
    void exportProject(HttpServletResponse response,
                       ProjectTargetAdministrationDTO projectTargetAdministrationDTO);

    IPage<ProjectTargetAdministration>  listBySource(DateDTO dateDTO);
    List<ProjectTargetAdministration>  listAll();

}
